package com.zust.java.bean;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.springframework.stereotype.Repository;

@Repository
public class CompleteDetail {

	private int id;
	private Date startTime;
	private Date finishTime;
	private int completeNum;
	private SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
	
	public CompleteDetail() {

	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	public int getCompleteNum() {
		return completeNum;
	}

	public void setCompleteNum(int completeNum) {
		this.completeNum = completeNum;
	}

	@Override
	public String toString() {
		return "CompleteDetail [id=" + id + ", startTime=" + format.format(startTime) + ", finishTime=" + format.format(finishTime) + ", completeNum="
				+ completeNum + "]";
	}

	
}
